<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>考试结果 - 护工助手</title>
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/training.css">
    <link rel="stylesheet" href="https://at.alicdn.com/t/font_3159099_1wqzwg0e9ck.css">
    <style>
        .result-header {
            background-color: var(--primary-color);
            padding: var(--spacing-lg) var(--spacing-md);
            color: white;
            text-align: center;
            margin-bottom: var(--spacing-md);
        }
        
        .result-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: var(--spacing-sm);
        }
        
        .result-subtitle {
            font-size: 14px;
            opacity: 0.8;
            margin-bottom: var(--spacing-md);
        }
        
        .score-circle {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background-color: white;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            margin: 0 auto var(--spacing-md);
        }
        
        .score-value {
            font-size: 36px;
            font-weight: 700;
            color: var(--primary-color);
            line-height: 1;
            margin-bottom: 4px;
        }
        
        .score-label {
            font-size: 14px;
            color: var(--primary-color);
        }
        
        .result-status {
            font-size: 16px;
            font-weight: 600;
        }
        
        .result-status.pass {
            color: white;
        }
        
        .result-status.fail {
            color: var(--warning-color);
        }
        
        .analysis-container {
            background-color: var(--bg-white);
            padding: var(--spacing-md);
            margin-bottom: var(--spacing-md);
        }
        
        .analysis-title {
            font-size: 16px;
            font-weight: 500;
            color: var(--text-primary);
            margin-bottom: var(--spacing-md);
            display: flex;
            align-items: center;
        }
        
        .analysis-title i {
            margin-right: var(--spacing-xs);
            color: var(--primary-color);
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: var(--spacing-md);
            margin-bottom: var(--spacing-md);
        }
        
        .stat-card {
            background-color: var(--bg-light);
            border-radius: var(--radius-md);
            padding: var(--spacing-md);
            text-align: center;
        }
        
        .stat-value {
            font-size: 24px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 4px;
        }
        
        .stat-label {
            font-size: 12px;
            color: var(--text-secondary);
        }
        
        .chart-container {
            margin-bottom: var(--spacing-md);
        }
        
        .chart-title {
            font-size: 14px;
            font-weight: 500;
            color: var(--text-primary);
            margin-bottom: var(--spacing-sm);
        }
        
        .chart-bar {
            height: 24px;
            background-color: var(--bg-light);
            border-radius: var(--radius-md);
            overflow: hidden;
            margin-bottom: var(--spacing-xs);
            position: relative;
        }
        
        .chart-fill {
            height: 100%;
            background-color: var(--primary-color);
            border-radius: var(--radius-md);
        }
        
        .chart-label {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 var(--spacing-sm);
            font-size: 12px;
            color: white;
        }
        
        .chart-label span:last-child {
            font-weight: 600;
        }
        
        .category-chart {
            display: flex;
            flex-direction: column;
            gap: var(--spacing-sm);
            margin-bottom: var(--spacing-md);
        }
        
        .category-item {
            display: flex;
            align-items: center;
        }
        
        .category-name {
            width: 80px;
            font-size: 12px;
            color: var(--text-secondary);
        }
        
        .category-bar {
            flex: 1;
            height: 16px;
            background-color: var(--bg-light);
            border-radius: 8px;
            overflow: hidden;
            position: relative;
        }
        
        .category-fill {
            height: 100%;
            background-color: var(--primary-color);
            border-radius: 8px;
        }
        
        .category-value {
            width: 40px;
            font-size: 12px;
            color: var(--text-primary);
            font-weight: 500;
            text-align: right;
            margin-left: var(--spacing-sm);
        }
        
        .wrong-questions {
            background-color: var(--bg-white);
            padding: var(--spacing-md);
            margin-bottom: 60px;
        }
        
        .wrong-title {
            font-size: 16px;
            font-weight: 500;
            color: var(--text-primary);
            margin-bottom: var(--spacing-md);
            display: flex;
            align-items: center;
        }
        
        .wrong-title i {
            margin-right: var(--spacing-xs);
            color: var(--danger-color);
        }
        
        .wrong-item {
            border-bottom: 1px solid var(--border-color);
            padding-bottom: var(--spacing-md);
            margin-bottom: var(--spacing-md);
        }
        
        .wrong-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: var(--spacing-xs);
        }
        
        .wrong-number {
            font-size: 14px;
            font-weight: 500;
            color: var(--text-primary);
        }
        
        .wrong-type {
            background-color: var(--primary-light);
            color: var(--primary-color);
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 12px;
        }
        
        .wrong-content {
            font-size: 14px;
            line-height: 1.5;
            color: var(--text-primary);
            margin-bottom: var(--spacing-sm);
        }
        
        .wrong-answer {
            display: flex;
            margin-bottom: var(--spacing-sm);
        }
        
        .answer-label {
            font-size: 12px;
            color: var(--text-secondary);
            margin-right: var(--spacing-sm);
        }
        
        .answer-content {
            font-size: 12px;
        }
        
        .answer-content.wrong {
            color: var(--danger-color);
            text-decoration: line-through;
        }
        
        .answer-content.correct {
            color: var(--success-color);
            font-weight: 500;
        }
        
        .wrong-explanation {
            font-size: 12px;
            line-height: 1.5;
            color: var(--text-secondary);
            background-color: var(--bg-light);
            padding: var(--spacing-sm);
            border-radius: var(--radius-sm);
        }
        
        .action-buttons {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: var(--bg-white);
            display: flex;
            padding: var(--spacing-sm);
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
            z-index: 100;
        }
        
        .action-btn {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: var(--spacing-sm) 0;
            font-size: 14px;
            border-radius: var(--radius-md);
            margin: 0 var(--spacing-xs);
        }
        
        .action-btn.primary {
            background-color: var(--primary-color);
            color: white;
        }
        
        .action-btn.secondary {
            background-color: var(--bg-light);
            color: var(--text-secondary);
        }
        
        .action-btn i {
            margin-right: 4px;
        }
    </style>
</head>
<body>
    <div class="app-container">
        <!-- 顶部状态栏 -->
        <header class="app-header">
            <div class="status-bar">
                <span class="time">14:25</span>
                <div class="status-icons">
                    <span class="icon-wifi"></span>
                    <span class="icon-signal"></span>
                    <span class="icon-battery">80%</span>
                </div>
            </div>
            <div class="header-content">
                <a href="question-bank.html" class="back-btn">
                    <i class="icon-back"></i>
                </a>
                <h1>考试结果</h1>
                <div class="header-actions">
                    <a href="#" class="icon-share"></a>
                </div>
            </div>
        </header>

        <!-- 考试结果 -->
        <div class="result-header">
            <h2 class="result-title">护工技能水平测试</h2>
            <p class="result-subtitle">2023-06-15 完成</p>
            <div class="score-circle">
                <div class="score-value">78</div>
                <div class="score-label">分数</div>
            </div>
            <div class="result-status pass">恭喜您，考试通过！</div>
        </div>

        <!-- 答题分析 -->
        <div class="analysis-container">
            <h3 class="analysis-title">
                <i class="icon-analysis"></i>
                答题分析
            </h3>
            <div class="stats-grid">
                <div class="stat-card">
                    <div class="stat-value">20</div>
                    <div class="stat-label">总题数</div>
                </div>
                <div class="stat-card">
                    <div class="stat-value">16</div>
                    <div class="stat-label">答对题数</div>
                </div>
                <div class="stat-card">
                    <div class="stat-value">4</div>
                    <div class="stat-label">答错题数</div>
                </div>
                <div class="stat-card">
                    <div class="stat-value">80%</div>
                    <div class="stat-label">正确率</div>
                </div>
            </div>
            
            <div class="chart-container">
                <h4 class="chart-title">答题情况</h4>
                <div class="chart-bar">
                    <div class="chart-fill" style="width: 80%"></div>
                    <div class="chart-label">
                        <span>正确率</span>
                        <span>80%</span>
                    </div>
                </div>
            </div>
            
            <div class="chart-container">
                <h4 class="chart-title">分类得分情况</h4>
                <div class="category-chart">
                    <div class="category-item">
                        <div class="category-name">基础护理</div>
                        <div class="category-bar">
                            <div class="category-fill" style="width: 90%"></div>
                        </div>
                        <div class="category-value">90%</div>
                    </div>
                    <div class="category-item">
                        <div class="category-name">专科护理</div>
                        <div class="category-bar">
                            <div class="category-fill" style="width: 75%"></div>
                        </div>
                        <div class="category-value">75%</div>
                    </div>
                    <div class="category-item">
                        <div class="category-name">急救技能</div>
                        <div class="category-bar">
                            <div class="category-fill" style="width: 60%"></div>
                        </div>
                        <div class="category-value">60%</div>
                    </div>
                    <div class="category-item">
                        <div class="category-name">心理关怀</div>
                        <div class="category-bar">
                            <div class="category-fill" style="width: 85%"></div>
                        </div>
                        <div class="category-value">85%</div>
                    </div>
                    <div class="category-item">
                        <div class="category-name">营养膳食</div>
                        <div class="category-bar">
                            <div class="category-fill" style="width: 70%"></div>
                        </div>
                        <div class="category-value">70%</div>
                    </div>
                </div>
            </div>
        </div>

        <!-- 错题解析 -->
        <div class="wrong-questions">
            <h3 class="wrong-title">
                <i class="icon-wrong"></i>
                错题解析
            </h3>
            <div class="wrong-list">
                <div class="wrong-item">
                    <div class="wrong-header">
                        <div class="wrong-number">第4题</div>
                        <div class="wrong-type">单选题</div>
                    </div>
                    <div class="wrong-content">
                        老年人血压测量时，以下哪种做法是正确的？
                    </div>
                    <div class="wrong-answer">
                        <div class="answer-label">您的答案：</div>
                        <div class="answer-content wrong">C. 测量时袖带松散缠绕</div>
                    </div>
                    <div class="wrong-answer">
                        <div class="answer-label">正确答案：</div>
                        <div class="answer-content correct">B. 测量前让患者休息5-10分钟</div>
                    </div>
                    <div class="wrong-explanation">
                        测量血压前，应让患者休息5-10分钟，保持安静状态，这样测得的血压值才能真实反映患者的血压水平。剧烈活动会导致血压暂时升高；袖带松散缠绕会导致测量不准确；手臂高于心脏水平会导致测量值偏低。
                    </div>
                </div>
                
                <div class="wrong-item">
                    <div class="wrong-header">
                        <div class="wrong-number">第11题</div>
                        <div class="wrong-type">多选题</div>
                    </div>
                    <div class="wrong-content">
                        以下哪些是老年人常见的心理问题？
                    </div>
                    <div class="wrong-answer">
                        <div class="answer-label">您的答案：</div>
                        <div class="answer-content wrong">B、D（抑郁情绪、认知障碍）</div>
                    </div>
                    <div class="wrong-answer">
                        <div class="answer-label">正确答案：</div>
                        <div class="answer-content correct">A、B、C（孤独感、抑郁情绪、焦虑症状）</div>
                    </div>
                    <div class="wrong-explanation">
                        老年人常见的心理问题包括孤独感、抑郁情绪、焦虑症状等。认知障碍属于神经系统疾病，不是心理问题的范畴。
                    </div>
                </div>
                
                <div class="wrong-item">
                    <div class="wrong-header">
                        <div class="wrong-number">第14题</div>
                        <div class="wrong-type">判断题</div>
                    </div>
                    <div class="wrong-content">
                        糖尿病患者可以适量食用含糖量高的水果。
                    </div>
                    <div class="wrong-answer">
                        <div class="answer-label">您的答案：</div>
                        <div class="answer-content wrong">√</div>
                    </div>
                    <div class="wrong-answer">
                        <div class="answer-label">正确答案：</div>
                        <div class="answer-content correct">×</div>
                    </div>
                    <div class="wrong-explanation">
                        糖尿病患者应避免食用含糖量高的水果，如荔枝、葡萄、香蕉等，可以选择含糖量低的水果，如草莓、柚子、猕猴桃等，且应控制摄入量。
                    </div>
                </div>
                
                <div class="wrong-item">
                    <div class="wrong-header">
                        <div class="wrong-number">第18题</div>
                        <div class="wrong-type">单选题</div>
                    </div>
                    <div class="wrong-content">
                        心肺复苏的正确按压频率是多少？
                    </div>
                    <div class="wrong-answer">
                        <div class="answer-label">您的答案：</div>
                        <div class="answer-content wrong">B. 80-100次/分钟</div>
                    </div>
                    <div class="wrong-answer">
                        <div class="answer-label">正确答案：</div>
                        <div class="answer-content correct">C. 100-120次/分钟</div>
                    </div>
                    <div class="wrong-explanation">
                        根据最新的心肺复苏指南，成人心肺复苏的正确按压频率是100-120次/分钟，按压深度为5-6厘米。
                    </div>
                </div>
            </div>
        </div>

        <!-- 底部按钮 -->
        <div class="action-buttons">
            <a href="question-bank.html" class="action-btn secondary">
                <i class="icon-back"></i>
                <span>返回题库</span>
            </a>
            <a href="error-practice.html" class="action-btn primary">
                <i class="icon-practice"></i>
                <span>错题练习</span>
            </a>
        </div>
    </div>

    <script src="js/common.js"></script>
</body>
</html> 